package dao;

import javax.management.RuntimeErrorException;

import bean.User;
import dbutil.Mapper;

public class UserDao {
	
	public User loadById(String id) {
		try {
			return new Mapper().loadById(User.class, id);
		} catch (Exception e) {
			throw new RuntimeException(e);
		}
	}
	
}
